package com.example.kuaizu.pojo.pram;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import kuaizu.common.em.ProjectOrientationEm;
import lombok.Data;

/**
 * @author: wangmx15
 * @date: 2025/10/6
 **/
@Data
public class CreateResumePram {

    @NotBlank(message = "用户加入时间不能为空")
    @Pattern(regexp = "\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])", message = "日期格式应为yyyy-MM-dd")
    private String joinTime;

    @NotBlank(message = "项目信息不能为空")
    private String projectInfo;
    @Pattern(regexp = "\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])", message = "日期格式应为yyyy-MM-dd")
    private String endTime;

    @NotBlank(message = "项目结果不能为空")
    private String projectResult;

    @NotBlank(message = "用户角色不能为空")
    private String role;

    @NotNull(message = "项目偏好不能为空")
    private ProjectOrientationEm projectBelief;

    @NotBlank(message = "项目贡献不能为空")
    private String projectContribution;
    @NotBlank(message = "项目发起方不能为空")
    private String initiator;
}
